package com.neuedu.his.controller;


import com.neuedu.his.common.core.BaseController;
import com.neuedu.his.common.core.BaseService;
import com.neuedu.his.common.core.BaseService;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

@WebServlet("/login/*")
public class LoginController  extends BaseController {

    public Map login(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

        Map result = new HashMap();
        result.put("token","admin-token");

        return  result;
    }

    @Override
    public BaseService getService() {
        return null;
    }
}